home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 26 / Cream of the Crop 26.iso / os2 / pvm34b3.zip / pvm34b3 / pvm3 / src / fromlib.h < prev    next >
Text File  |  1997-07-22  |  3KB  |  96 lines

  1.  
  2. /* $Id: fromlib.h,v 1.4 1997/06/25 22:08:43 pvmsrc Exp $ */
  3.  
  4. /*
  5.  *         PVM version 3.4:  Parallel Virtual Machine System
  6.  *               University of Tennessee, Knoxville TN.
  7.  *           Oak Ridge National Laboratory, Oak Ridge TN.
  8.  *                   Emory University, Atlanta GA.
  9.  *      Authors:  J. J. Dongarra, G. E. Fagg, M. Fischer
  10.  *          G. A. Geist, J. A. Kohl, R. J. Manchek, P. Mucci,
  11.  *         P. M. Papadopoulos, S. L. Scott, and V. S. Sunderam
  12.  *                   (C) 1997 All Rights Reserved
  13.  *
  14.  *                              NOTICE
  15.  *
  16.  * Permission to use, copy, modify, and distribute this software and
  17.  * its documentation for any purpose and without fee is hereby granted
  18.  * provided that the above copyright notice appear in all copies and
  19.  * that both the copyright notice and this permission notice appear in
  20.  * supporting documentation.
  21.  *
  22.  * Neither the Institutions (Emory University, Oak Ridge National
  23.  * Laboratory, and University of Tennessee) nor the Authors make any
  24.  * representations about the suitability of this software for any
  25.  * purpose.  This software is provided ``as is'' without express or
  26.  * implied warranty.
  27.  *
  28.  * PVM version 3 was funded in part by the U.S. Department of Energy,
  29.  * the National Science Foundation and the State of Tennessee.
  30.  */
  31.  
  32. /*
  33.  *    fromlib.h
  34.  *
  35.  *    Stuff from libpvm that pvmd needs to know.
  36.  *
  37. $Log: fromlib.h,v $
  38.  * Revision 1.4  1997/06/25  22:08:43  pvmsrc
  39.  * Markus adds his frigging name to the author list of
  40.  *     every file he ever looked at...
  41.  *
  42.  * Revision 1.3  1997/01/28  19:27:54  pvmsrc
  43.  * New Copyright Notice & Authors.
  44.  *
  45.  * Revision 1.2  1996/10/24  20:34:55  pvmsrc
  46.  * Removed TEV_* constants...  included directly from pvmtev.h now.
  47.  *
  48.  * Revision 1.1  1996/09/23  23:43:14  pvmsrc
  49.  * Initial revision
  50.  *
  51.  * Revision 1.2  1994/06/03  20:38:13  manchek
  52.  * version 3.3.0
  53.  *
  54.  * Revision 1.1  1993/08/30  23:26:47  manchek
  55.  * Initial revision
  56.  *
  57.  */
  58.  
  59. /*
  60. *    pvm_spawn options
  61. */
  62.  
  63. #define    PvmTaskHost        1    /* specify host */
  64. #define    PvmTaskArch        2    /* specify architecture */
  65. #define    PvmTaskDebug    4    /* start task in debugger */
  66. #define    PvmTaskTrace    8    /* process generates trace data */
  67. #define    PvmMppFront        16    /* spawn task on service node */
  68. #define    PvmHostCompl    32    /* complement host set */
  69.  
  70. /*
  71. *    pvm_notify types
  72. */
  73.  
  74. #define    PvmTaskExit        1    /* on task exit */
  75. #define    PvmHostDelete    2    /* on host fail/delete */
  76. #define    PvmHostAdd        3    /* on host startup */
  77.  
  78. /*
  79. *    Libpvm error codes
  80. */
  81.  
  82. #define    PvmBadParam        -2    /* bad parameter */
  83. #define    PvmNoHost        -6    /* no such host */
  84. #define    PvmNoFile        -7    /* no such executable */
  85. #define    PvmHostFail        -22    /* host failed */
  86. #define    PvmDSysErr        -25    /* pvmd system error */
  87. #define    PvmBadVersion    -26    /* pvmd-pvmd protocol version mismatch */
  88. #define    PvmOutOfRes        -27    /* out of resources */
  89. #define    PvmDupHost        -28    /* host already configured */
  90. #define    PvmCantStart    -29    /* failed to exec new slave pvmd */
  91. #define    PvmAlready        -30    /* already doing operation */
  92. #define    PvmNoTask        -31    /* no such task */
  93. #define    PvmNoEntry        -32    /* no such name, index pair */
  94. #define    PvmDupEntry        -33    /* name, index pair already exists */
  95.  
  96.